import request from '@/utils/request'

export const getWorkList = (params) => request.get('/bpm/worklist', { params })

export const processInfo = (taskId) => request.get(`/bpm/workflow/task/${taskId}/processinfo`)

export const definition = (formId) => request.get(`/bpm/form/${formId}/definition`)